package com.ace3l.legal.gwt.homeportal.createlawfirm.client;

import com.google.gwt.core.client.GWT;
import com.ace3l.legal.gwt.homeportal.createlawfirm.client.LawFirmSignUpWidget;
import com.ace3l.legal.gwt.domainmodule.client.Ace3LPageTemplate;
import com.synesthesiaconsulting.gwt.resources.client.DirectorUnit;
import com.synesthesiaconsulting.gwt.resources.client.GWTActionUnitFactory;
import com.gwtext.client.widgets.form.Label;

/**
 * Created by IntelliJ IDEA.
 * User: ageer
 * Date: Jul 24, 2008
 * Time: 4:19:09 PM
 * To change this template use File | Settings | File Templates.
 */
public class CreateLawFirm extends Ace3LPageTemplate {
    DirectorUnit bodyPanelDirector;

    public void init() {
        DirectorUnit d = director.addModule("homeportal.CreateLawFirm");
        bodyPanelDirector = d.addSubModule("bodyPanel");
        LawFirmSignUpWidget signUp = new LawFirmSignUpWidget(director);


        bodyPanelDirector.addAction("signUpForm", GWTActionUnitFactory.makeGWTNavigationUnit(signUp, true));
        bodyPanelDirector.applyActionTo("signUpForm",bodyPanel);
    }
}
